Skip to content

[BAC-255] fix(deps): clear hex.audit advisories and run hex.audit in CI - #2

Merged
brendon9x merged 1 commit into
mainfrom
bac-255-hex-audit
Nov 2, 2026
Merged

brendon9x merged 1 commit into
mainfrom
bac-255-hex-audit

Conversation

@nvolker

@nvolker nvolker commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Linear: BAC-255

Why

mix hex.audit reported 22 security advisories in the lockfile, and CI did not run the audit, so new advisories could land unnoticed.

What changed

Package Old New Advisories cleared
decimal (mix.exs: ~> 2.0 → ~> 2.0 or ~> 3.0) 2.3.0 3.1.2 EEF-CVE-2026-32686, EEF-CVE-2026-97853 (no 2.x release fixes either)
tesla (dev only, via pillar) 1.15.3 1.18.3 EEF-CVE-2026-48594, -48595, -48596, -48597, -48598
mint (dev only, via pillar) 1.7.1 1.10.2 EEF-CVE-2026-82672, -49754, -48861, -48862, -49753, -91043, -58229, -92103, -94194, -59246, -56810, -82728, -59249
hpax (dev only) 1.0.3 1.0.4 EEF-CVE-2026-58226
castore, jason patch bumps pulled in by the updates above

Decimal 3.0's breaking change is the decimal128 default context (precision 34, bounded exponent). natch only uses Decimal.new/1, Decimal.mult/2 and Decimal.to_integer/1 to encode Decimal64(9) columns (at most 18 digits), well inside those bounds. The constraint keeps ~> 2.0 so downstream apps still on decimal 2.x are not forced to upgrade.

mix format --check-formatted passes locally. The NIF needs cmake to build from source, which isn't available on my machine, so compile and tests are verified by this PR's CI.

Ignored advisories

None. mix hex.audit exits 0.

CI change

Adds a blocking Audit dependencies step (mix hex.audit) after mix deps.get in the test job of .github/workflows/test.yml.

🤖 Generated with Claude Code

Allow decimal ~> 3.0 alongside ~> 2.0 and lock decimal 3.1.2, which fixes
EEF-CVE-2026-32686 and EEF-CVE-2026-97853. Bump the dev-only pillar
transitive deps tesla 1.15.3 -> 1.18.3, mint 1.7.1 -> 1.10.2 and hpax
1.0.3 -> 1.0.4. Run mix hex.audit as a blocking CI step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brendon9x
brendon9x merged commit 2329653 into main Nov 2, 2026
6 checks passed
@brendon9x
brendon9x deleted the bac-255-hex-audit branch November 2, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants